package com.qfmy.model.entity.video;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/4/13
 * @description 弹幕实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Danmu {
    @Schema(description = "弹幕ID")
    private Integer id;
    
    @Schema(description = "弹幕内容")
    private String text;
    
    @Schema(description = "发弹幕的用户")
    private Integer userId;
    
    @Schema(description = "发送时间")
    private Date sendTime;
    
    @Schema(description = "视频ID")
    private Integer videoId;
    
    @Schema(description = "类型 0:电影 1:动漫 2:电视剧")
    private Integer type;
    
    @Schema(description = "视频播放的时间")
    private Integer time;
    
    @Schema(description = "弹幕颜色")
    private String color;
    
    @Schema(description = "弹幕位置")
    private Integer top;
    
    @Schema(description = "多少级")
    private Integer episodes;
}